<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@include file="/common/definition.jsp"%>
<%@ page language="java" import="java.util.*"%>
<html:html>
<tiles:insert beanName="user-definition" flush="true">
	<tiles:put name="title"> Welcome </tiles:put>
	<tiles:put name="body" type="string">
	<div class="col-md-10">
		<div class="col-md-12 mainHome" style="min-height: 550px">
			<div class="col-md-12 text-center">
				<h1>Thông tin cá nhân</h1>
			</div>
			<s:form action="changeProfile" cssClass="form-horizontal"
				role="form" theme="simple">
				<div class="form-group">
					<s:property value="errorChangeProfile" />
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label" style="padding-top : 0">Họ và Tên :</label>
					<div class="col-sm-9">
						<strong><s:property value="#session.firstName" />&nbsp;<s:property
								value="#session.lastName" /> </strong>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label" style="padding-top : 0">Ngày Sinh :</label>
					<div class="col-sm-9">
						<strong><s:property value="#session.birthDay" /> </strong>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label" style="padding-top : 0">Giới tính
						:</label>
					<div class="col-sm-3 ">
						<s:if test="%{#session.gentle == 'male'}">
							<strong>Nam</strong>
						</s:if>
						<s:else>
							<strong>Nữ</strong>
						</s:else>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label" style="padding-top : 0">Email :</label>
					<div class="col-sm-9">
						<strong><s:property value="#session.email" /> </strong>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label" style="padding-top : 0">Địa chỉ :</label>
					<div class="col-sm-9">
						<strong><s:property value="#session.address" /> </strong>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label" style="padding-top : 0">Số điện thoại :</label>
					<div class="col-sm-9">
						<strong><s:property value="#session.phoneNumber" /> </strong>
					</div>
				</div>
			</s:form>
		</div>
	</div>
	</tiles:put>
</tiles:insert>
</html:html>
